<!--
 * @Author: your name
 * @Date: 2020-07-22 10:20:51
 * @LastEditTime: 2020-08-19 13:41:48
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tinkjsDemo\antd-vue-pro\src\components\tools\Logo.vue
-->
<template>
  <div class="logo">
    <router-link :to="{name:'dashboard'}">
      <icon-svg iconClass="logo"></icon-svg>
      <h1 v-if="showTitle">{{ title }}</h1>
    </router-link>
  </div>
</template>

<script>

export default {
  name: 'Logo',
  
  props: {
    title: {
      type: String,
      default: 'Ant Design Pro',
      required: false
    },
    showTitle: {
      type: Boolean,
      default: true,
      required: false
    }
  }
}
</script>
